package huu.phong.sshchecker;

public class LongCount {
	
	private long count = 0;
	
	private long all = 0;
	
	public LongCount(long all) {
		this.all = all;
	}
	
	public synchronized LongCount plusOne() {
		++count;
		return this;
	}
	
	public String toString() {
		return String.format("[%06d/%d]", count, all);
	}
}
